<?php 
	// lay donviquanlyList
	$donviquanlyList=$this->donviquanlyList;
?>
<form name="adminForm" method="post">
	<input type='hidden' name='task' />
	<fieldset>
		<legend>Chi tiết phòng ban</legend>
		<table class="admintable">
			<tr>
				<td class="key">Đơn vị quản lý</td>
				<td>
					<select id="iddonviquanly" name="iddonviquanly">
						<?php 
							foreach ($donviquanlyList as $item)
							{
								echo '<option value="'.$item->dvql_id.'">'.$item->dvql_ten.'</option>';
							}
						?>						
					</select>
				</td>
			</tr>
			<tr>
				<td class="key">Tên</td>
				<td><input style="width:250px;" type="text" name="ten" /></td>
			</tr>
			<tr>
				<td class="key">Địa chỉ</td>
				<td><input style="width:250px;" type="text" name="diachi" /></td>
			</tr>
			<tr>
				<td class="key">Điện thoại</td>
				<td><input style="width:250px;" type="text" name="dienthoai" /></td>
			</tr>
			<tr>
				<td class="key">Email</td>
				<td><input style="width:250px;" type="text" name="email" /></td>
			</tr>
			<tr>
				<td class="key">Miêu tả</td>
				<td>
				<textarea name="mieuta" rows="10" cols="50" ></textarea>
                   <?php $ed = &JFactory::getEditor();
                    //echo $ed->display('mieuta','',600,200,6,array());
                   ?>
				</td>
			</tr>
		</table>
	</fieldset>
</form>